package com.xiaomi.eco.dal.res;


import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.Date;
@lombok.Data
public class SectionsRes {

    private int code;
    private SectionData data;
    private String msg;

    // Getters and setters


    @lombok.Data
   public static class SectionData {
        @JsonProperty("section")
        private Section section;

        // Getter and setter for section


        @lombok.Data
        public static class Section {
            private long created_at;
            @JsonProperty("creator")
            private SectionCreator creator;
            private String guid;
            private boolean is_default;
            private String name;
            private String resource_type;
            @JsonProperty("tasklist")
            private SectionCreator.SectionTaskList tasklist;
            private Date updated_at;

            // Getters and setters


            @lombok.Data
            public static class SectionCreator {
                private String id;
                private String type;

                // Getters and setters


                @lombok.Data
                public static class SectionTaskList {
                    private String guid;
                    private String name;

                    // Getters and setters
                }
            }
        }
    }
}
